Skip to main content

All Questions

0votes
1answer
23views

When unit testing a directive how to pass its controller

I am new to AngularJS and its unit test. Currently I am trying to test a directive with its controller in the template file: It's template: <div ng-controller = "SomeController" > <select ...
Lily's user avatar

close